package com.snoopy.gas1.entity;

import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

public class Employee_info {
    private Integer id;
    private String employeeName;  // 对应employee_name字段
    private String position;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date hireDate;        // 对应hire_date字段
    private Integer workStatus;   // 对应work_status字段
    private String attendanceRecords; // 对应attendance_records字段
    private Integer permission;   // 对应permission字段
    private Date updateTime;      // 对应update_time字段

    // getter和setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public Integer getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Integer workStatus) {
        this.workStatus = workStatus;
    }

    public String getAttendanceRecords() {
        return attendanceRecords;
    }

    public void setAttendanceRecords(String attendanceRecords) {
        this.attendanceRecords = attendanceRecords;
    }

    public Integer getPermission() {
        return permission;
    }

    public void setPermission(Integer permission) {
        this.permission = permission;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}